Adwaita: add minimum size for marks
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 29 Feb 2016 00:04:17 +0000 (16:04 -0800)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 29 Feb 2016 18:45:14 +0000 (10:45 -0800)
It's still suboptimal, because there's no way to control the size of the
indicator alone, but this does the job for now.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index ab05f61099e0527535d97bf4f0bb98df2f8b26d7..5adbd2a1c15e9e4ab19222d6379e4154a0117153 100644 (file)
@@ -2578,6 +2578,8 @@ scale {
   }
 
   marks { color: gtkalpha(currentColor, 0.4); }
+  &.horizontal marks { min-height: 8px; }
+  &.vertical marks { min-width: 8px; }
 
   // *WARNING* scale with marks madness following
 
index a188252b12efd39e97e55d2852fdecd5b0cdcec1..f56f6b50eeb875544a7a89661b186f4ef16fcc6c 100644 (file)
@@ -2757,6 +2757,10 @@ scale {
         -gtk-icon-shadow: none; }
   scale marks {
     color: alpha(currentColor,0.4); }
+  scale.horizontal marks {
+    min-height: 8px; }
+  scale.vertical marks {
+    min-width: 8px; }
   scale.color.horizontal trough > trough > slider, scale.horizontal contents:last-child:not(:only-child) > trough > slider {
     margin: -9px;
     border-style: none;
index 4f5ff5e09c08ae1518a7acef279db3b2be671f95..3662aff95ce0244af345ff6980fad97007e2fe3f 100644 (file)
@@ -2788,6 +2788,10 @@ scale {
         -gtk-icon-shadow: none; }
   scale marks {
     color: alpha(currentColor,0.4); }
+  scale.horizontal marks {
+    min-height: 8px; }
+  scale.vertical marks {
+    min-width: 8px; }
   scale.color.horizontal trough > trough > slider, scale.horizontal contents:last-child:not(:only-child) > trough > slider {
     margin: -9px;
     border-style: none;